/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.ow.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaaction.common.persistence.Page;
import com.kaaction.common.service.CrudService;
import com.kaaction.modules.ow.entity.OwIntention;
import com.kaaction.modules.ow.dao.OwIntentionDao;

/**
 * 意向Service
 * @author huanghaiming
 * @version 2017-06-27
 */
@Service
@Transactional(readOnly = true)
public class OwIntentionService extends CrudService<OwIntentionDao, OwIntention> {

	public OwIntention get(String id) {
		return super.get(id);
	}
	
	public List<OwIntention> findList(OwIntention owIntention) {
		return super.findList(owIntention);
	}
	
	public Page<OwIntention> findPage(Page<OwIntention> page, OwIntention owIntention) {
		return super.findPage(page, owIntention);
	}
	
	@Transactional(readOnly = false)
	public void save(OwIntention owIntention) {
		super.save(owIntention);
	}
	
	@Transactional(readOnly = false)
	public void delete(OwIntention owIntention) {
		super.delete(owIntention);
	}
	
}